<%--
  Created by IntelliJ IDEA.
  User: HDC
  Date: 2018/8/16
  Time: 9:48
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
    <title>附件上传</title>
    <c:import url="../../header.jsp"/>
</head>
<body>
<div class="finan-panel">
    <div class="finan-tit">
        <b>附件信息</b>
    </div>
    <div class="panel-main">
        <ul class="data-warp" id="previewImg">
            <li title="lADOrfgrlc0DhM0FoA_1440_900.jpg" class="upload-li">
                <div class="data-img">
                    <div class="center">
                        <img class="layui-upload-img">
                    </div>
                    <a href="javascript:void(0)" class="remove-upload"></a>
                </div>
                <p>lADOrfgrlc0DhM0FoA_1440_900.jpg</p>
                <input type="hidden" name="fileId">
                <input type="hidden" name="fileName">
            </li>
            <li>
                <a href="javascript:void(0)" class="upload-button" id="upload"></a>
                <!-- is-remove 是否可以删除 0-不可以       is-down 是否可以下载 load-file:1 进入页面自动加载图片，无参数和其它值不加载-->
                <input class="layui-upload-file" type="file" name="file" multiple="" id="annexUpload" data-type="credential" data-fileid="102030405060708090" is-remove="1" load-file="1">
                <p>上传附件</p>
            </li>
        </ul>
    </div>
</div>
</body>
<c:import url="../../footer.jsp"/>
<script src="${rootUrl}/static/js/zzsc/common/files/annex.js?v=${version}" type="text/javascript" charset="utf-8"></script>
</html>
<script>
    $(function () {
        //调用示例
        layer.photos({
            photos: '#previewImg'
            , anim: 1
        });
    });
</script>